package com.mc.read.dao.mapper;

import com.mc.read.dao.models.Phonecode;
import com.mc.read.dao.models.PhonecodeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PhonecodeMapper {
    int countByExample(PhonecodeExample example);

    int deleteByExample(PhonecodeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Phonecode record);

    int insertSelective(Phonecode record);

    List<Phonecode> selectByExample(PhonecodeExample example);

    Phonecode selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Phonecode record, @Param("example") PhonecodeExample example);

    int updateByExample(@Param("record") Phonecode record, @Param("example") PhonecodeExample example);

    int updateByPrimaryKeySelective(Phonecode record);

    int updateByPrimaryKey(Phonecode record);

    Phonecode selectLastLogin(String phone);
    Phonecode selectLastUpdate(String phone);


}